function deleteFile(file_id,file_name){
    const confirmed = confirm(`确定要删除文件【${file_name}】吗？此操作不可恢复！`);
    if(!confirmed) return;
    const data = {
        'file_id':file_id,
        'file_name':file_name
    };

    fetch(FILE_DELETE_URI, {
        method:'DELETE',
        headers:{
            'Content-Type':'application/json',
        },
        body:JSON.stringify(data)
    }).then(response=>response.json())
        .then(data=>{
            if(data.statusCode === 200){
                alert(data.message);
                location.reload();
            }else{
                alert(data.message)
            }
        })
}